home *** CD-ROM | disk | FTP | other *** search
- Subject: Re: FW_CString
- Sent: 8/20/96 9:45 AM
- Received: 8/20/96 9:16 AM
- From: Scott Adler, sadler@spss.com
- Reply-To: ODF Interest, ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- >
- >There does not appear to be a coversion for FW_CString to and from a
- >pascal string. Why is that? After all this is the Mac!
- >
- >Walter
-
- To get a pascal string from a FW_CString use:
-
- FW_CString::ExportPascal(FW_PascalChar *buffer)
-
-
- To make a FW_CString from a pascal string I guess you could use the
- constructor:
-
- FW_CString(const char * text, FW_ByteCount byteLength)
-
- but I haven't tried it yet.
-
- -Scott Adler
- sadler@spss.com
-